package com.atguigu.tingshu.search.client;

import com.atguigu.tingshu.search.client.impl.SearchDegradeFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.vo.account.AccountLockResultVo;
import com.atguigu.tingshu.vo.account.AccountLockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 * 产品列表API接口
 * </p>
 *    /rpc/inner/searchInfo/preRankingCache
 * @author qy
 */
@FeignClient(value = "service-search",path = "/rpc/inner/searchInfo")//, fallback = SearchDegradeFeignClient.class,path = "/rpc/inner/searchInfo")
public interface SearchFeignClient {
    // rpc/inner/searchInfo/preRankingCache  这个请求路径不存在  这里的业务我不熟，你把这个问题解决就好了 好的 我试试
    @PostMapping("/preRankingCache")
    Result<Boolean> preRankingCache();  //老师先等一下，我先改一个东西

}